package com.yjc.common.constant;

/**
 * @author yjc
 * @create 2022-08-31 16:12
 */
public enum ExchangeStatusEnum {
    CREATED(0, "新建"), ASSIGNED(1, "已分配"),
    RECEIVED(2, "已领取"), FINISHED(3, "已完成"),
    HASEERROR(4, "有异常");
    private int code;
    private String msg;

    ExchangeStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
